package com.davinci.freemarket.dataModelLayer.model;

import java.sql.Date;

public class CommentModel 
{
	protected int commentID;
	
	protected int userID;
	public Date timestamp;
	protected int publicationID;
	protected String question;
	
	protected String response;
	protected int answered;
	
	/**
	 * Posibles valores son CRUD
	 * CREATION
	 * READ
	 * UPDATE
	 * DELETE
	 * 
	 * ver en StringStandarResourcesNames
	 */
	private String action_request = "CREATION";
	
	

	public int getCommentID() {
		return commentID;
	}

	public void setCommentID(int commentID) {
		this.commentID = commentID;
	}

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public int getPublicationID() {
		return publicationID;
	}

	public void setPublicationID(int publicationID) {
		this.publicationID = publicationID;
	}

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String getResponse() {
		return response;
	}

	public void setResponse(String response) {
		this.response = response;
	}

	public int getAnswered() {
		return answered;
	}

	public void setAnswered(int answered) {
		this.answered = answered;
	}

	public Date getTimestamp() {
		return timestamp;
	}
	
	public void setTimestamp(Date timestamp) {
		this.timestamp = timestamp;
	}

	public void setAction_request(String action_request) {
		this.action_request = action_request;
	}

	public String getAction_request() {
		return action_request;
	}


}
